package com.work.biz.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.work.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 辅导员对象 biz_counselor
 * 
 * @author  lee
 * @date 2021-04-22
 */
@ApiModel
public class BizCounselor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 辅导员id */
    private Long counselorId;

    /** 学校id */
    @NotNull(message = "学校ID不能为空")
    @ApiModelProperty(required = true, value = "学校ID")
    private Long schoolId;

    /** 用户ID */
    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(required = true, value = "用户ID")
    private Long userId;

    /** 辅导员姓名 */
    @NotBlank(message = "辅导员姓名不能为空")
    @ApiModelProperty(required = true, value = "辅导员姓名")
    private String counselorName;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCounselorId(Long counselorId) 
    {
        this.counselorId = counselorId;
    }

    public Long getCounselorId() 
    {
        return counselorId;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCounselorName(String counselorName) 
    {
        this.counselorName = counselorName;
    }

    public String getCounselorName() 
    {
        return counselorName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("counselorId", getCounselorId())
            .append("schoolId", getSchoolId())
            .append("userId", getUserId())
            .append("counselorName", getCounselorName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
